@extends('layouts.app')
@section('header')
     @include('common.header')
@stop
@section('title', '申请提现')
@section('content')
<link href="/front/Content/wodeshuju.css" rel="stylesheet" />
<link href="/front/Content/zhanghuchongzhi.css" rel="stylesheet" />
  <link href="/front/Content/assets/css/codemirror.css" rel="stylesheet" />
    <link href="/front/Content/assets/css/ace.min.css" rel="stylesheet" />
    <style type="text/css">
        .zxlynr .kddy {
            width: 100px;
        }
    </style>
<div class="banner1"></div>
<div class="xtxx">
            <div class="xtxx_top">
                <div class="xtxx_tit"><p><a href="/home">个人中心</a>&nbsp;&gt;&nbsp;<a href="javascript:;">申请提现</a></p></div>
            </div>
            <div class="sjfw">
       
		<div class="wdda">
			<div class="wdda_left fl" style="width: 185px;position: relative;z-index: 999">
				<ul class="shuji-nav">
					<li><a  href="/user/recharge">账户充值</a></li>
							<li ><a href="/user/income">名片收益</a></li>
							<li class="on"><a class="tixian" href="/user/withdraw">申请提现</a></li>
							<li><a href="/user/withdrawRecord">提现记录</a></li>
				</ul>
			</div>
			
        <div class="zxlynr " style="width:auto;">
            <ul>
            <form id="form1" method="POST" action="/user/withdraw" onSubmit="return checkFormData()">
     {{ csrf_field() }}
                <li><span class="kddy">提现金额</span><input class="wby1" id="money" name="money" value="{{ old('money') }}" type="number">元 ( ≥ 50元 )</li>
                <li><span class="kddy">联系电话</span><input class="wby1" id="mobile" name="mobile" value="{{ old('mobile') }}" type="text"></li>
				<li style="display: none;"><span class="kddy">电话</span><input name="accounttype" type="radio" value="1" checked />微信 <input name="accounttype" type="radio" value="2" />支付宝</li>
                <li><span class="kddy">支付宝账户名称</span><input class="wby1" id="name" name="name" value="{{ old('name') }}" type="text"></li>

				<li><span class="kddy">支付宝账号</span><input class="wby1" id="account" name="account" value="{{ old('account') }}" type="text"></li>
                
                <li><span class="kddy">&nbsp;</span><input style="display: none;" class="btn8" name="" type="reset" value="重置">
                    <input id="submitFormBtn" style="margin-left: 95px;margin-right: 0" class="btn8" name="sub" type="submit" value="提交">
                </li>
                </form>
            </ul>
        </div>
    </div></div>
        </div>
<script type="text/javascript">
function createCode()
{
	$('#checkCode img').attr('src', '/captcha?r='+Math.random());
}
function checkFormData(){
		if($('#money').val() < 50){
			alert('提现金额必须大于50');
			return false;
		}else{
			return true;
		}
		
	}
</script>
<script type="text/javascript">
$(function(){
	@if(session('status'))
		layer.msg("{{session('status')}}");
	@endif
	
	

})
</script>
@endsection
@section('footer')
     @include('common.footer')
@stop